Resursbank\Ecom\Lib\Model\Payment S

Total Complexity 36
Dependencies 13
Dependents 18
Total lines 256
Lines of code 116
Logical lines of code 34
Comment lines 79
Methods 22
Properties 0

Methods 22

Method Rating Maintainability Complexity Lines of code
isCaptured()
S
62 6 12
canPerformAction()
S
64 4 11
isRefunded()
S
65 4 10
isCancelled()
S
66 3 9
isRejectedReason()
S
76 2 4
isRejectionReasonInsufficientFunds()
S
75 1 5
isProcessable()
S
71 1 6
isRejectionReasonAbortedByCustomer()
S
75 1 5
isRejectionReasonTechnicalError()
S
75 1 5
isRejectionReasonCanceled()
S
75 1 5
__construct()
S
81 1 3
canCancel()
S
80 1 3
isRejectionReasonCreditDenied()
S
75 1 5
isRejected()
S
80 1 3
isFrozen()
S
80 1 3
canCredit()
S
81 1 3
canPartiallyRefund()
S
75 1 5
canRefund()
S
80 1 3
canPartiallyCapture()
S
75 1 5
canCapture()
S
80 1 3
canPartiallyCancel()
S
75 1 5
isRejectionReasonTimeout()
S
80 1 3